#include "plugin.h"
#include "fecore.h"
#include "widgetfactory.h"

QString FeWidgetsPlugin::getPluginName() const
{
	return "widgets";
}
QString FeWidgetsPlugin::getPluginVersion() const
{
	return "1.0";
}

void FeWidgetsPlugin::init()
{
	FeCore *core = FeCore::instance();
	Q_ASSERT(core);	
	core->registerWidgetFactory(new FePluginWidgetFactory(this));
}

void FeWidgetsPlugin::deinit()
{
}

Q_EXPORT_PLUGIN2(pnp_extrafilters, FeWidgetsPlugin)